package com.ylr.user.framework.feign.fallback;

import com.ylr.user.common.bo.user_message.UserMessageBo;
import com.ylr.base.common.tool.Result;
import com.ylr.user.framework.feign.YuUserMessageBaseClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-06-08 11:57:28
 * className: YuUserMessageClientFallback
 * version: 1.0
 * description:
 */
public class YuUserMessageClientFallback implements YuUserMessageBaseClient {

    private static final Logger log = LoggerFactory.getLogger(YuUserMessageClientFallback.class);

    @Override
    public Result<Object> saveUserMessage(UserMessageBo userMessageBo) {
        log.warn("user模块 => 保存用户消息，请求失败回调");
        return Result.fail();
    }
}
